package com.vipshop.core.repository.Impl;

/**
 * @author sxzku
 * @version 1.0
 * @className UserRepositoryImpl
 * @description TODO
 * @date 2019/3/11 0:20
 **/
//public class UserRepositoryImpl extends BaseRepositoryImpl<User,Long> implements UserRepository{
//
//    private final EntityManager entityManager; //父类没有不带参数的构造方法，这里手动构造父类
//
//    public UserRepositoryImpl(JpaEntityInformation<User, Long> entityInformation, EntityManager entityManager) {
//        super(entityInformation, entityManager);
//        this.entityManager = entityManager;
//    }
//
//    //@Override
//    public Integer findName(String name) {
//        return (Integer) entityManager.createNativeQuery("SELECT count(id) FROM User u WHERE email='sxzku@qq.com'").getSingleResult();
//    }
//}
public class MemberRepositoryImpl {
}